
import 'package:ysy_flutter_mvvm_yuanxuan/api/HttpService.dart';
import 'package:ysy_flutter_mvvm_yuanxuan/base/BaseModel.dart';
import 'package:ysy_flutter_mvvm_yuanxuan/bean/base/BaseBean.dart';
import 'package:ysy_flutter_mvvm_yuanxuan/bean/mine/MineBean.dart';

class MineVM extends BaseModel{

  MineBean?  mineBean;

  //工作台  个人中心 接口
  void getMyInfoData({bool isDialog=true,RequestDone? requestDone}){
     onNetWorkVerdictAndData(future: myInfoData(), result: (str){
        mineBean=BaseDataBean<MineBean>.fromJson(str,(map) => MineBean.fromJson(map)).data;
     },isDialog:isDialog,done: requestDone);
  }

}